<!DOCTYPE html>
<html lang="zh-cmn-Hans-CN">
<head>
    <title><%= htmlWebpackPlugin.options.title %></title>
    <%= require('../partials/head.ejs')() %>
</head>

<body>
<%= require('../partials/header.ejs')({title: htmlWebpackPlugin.options.title}) %>

<!-- S:container -->
<div class="container">
    <!-- position－detail -->
    <div class="position－detail light-bg">
        <!-- position-fund -->
        <div class="position-fund">
            <h3 class="tit">
                <a href="../market/fund-redemption.html" class="arrow-right">南方现金A<span
                            class="fund-code">205146</span></a>
            </h3>
            <div class="box">
                <p class="dark">最新收益（元）<span class="date grey">2016-03-03</span></p>
                <p class="fund-profit"><strong class="red ft27">88.80</strong></p>
                <ul class="attribute">
                    <li>
                        <span class="tit">万份收益</span>
                        <span class="cont">1.0000</span>
                    </li>
                    <li>
                        <span class="tit">七日年化</span>
                        <span class="cont red">＋1.25%</span>
                    </li>
                    <li>
                        <span class="tit">持仓收益（元）</span>
                        <span class="cont">1000.00</span>
                    </li>
                    <li>
                        <span class="tit">未结转份额（元）</span>
                        <span class="cont">5674.21</span>
                    </li>
                    <li>
                        <span class="tit">持仓市值（元）</span>
                        <span class="cont">100000.00</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- E:container -->

<!-- S:fix-bar -->
<!-- <div class="fix-bar sep-btn">
    <a href="../market/fund-redemption.html" class="fix-btn-default">赎回</a>
    <a href="../market/fund-purchase.html" class="fix-btn-highlight">购买</a>
</div> -->
<!-- E:fix-bar -->
<script>
    $(function () {
        $ajax({
            url: '/service/userAsset/getUserAsset/0',
            success: function (data) {
                $('[data-filed]').each(function () {
                    $(this).text(data.result[$(this).data('filed')]);
                });
                $('#view').parent()[0].innerHTML += $.template('view', data.result);
            }
        })
    });
</script>
</body>
</html>
